package crawler01;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author raok
 * @create 2022-04-26-23:21
 * 定义存储到Excel的数据格式
 **/
@Getter
@Setter
@EqualsAndHashCode
public class ExcelClass {
    @ExcelProperty( value = "序号")
    private int index;
    @ExcelProperty(value = "标题")
    private String title;
    @ExcelProperty(value = "链接")
    private String href;
    @ExcelProperty(value = "备案地")
    private String location;
    @ExcelProperty(value = "保证金金额")
    private String price;
    @ExcelProperty(value = "开标时间")
    private String opentime;
    @ExcelProperty(value = "招标文件发布时间")
    private String sendtime;
    /**
     * 忽略这个字段
     */
    @ExcelIgnore
    private String ignore;
}
